﻿using NFine.Data;
using NFine.Domain._03_Entity.Biz;
using NFine.Domain._04_IRepository.Biz;

namespace NFine.Repository.Biz
{
    public class BonusRateRepository : RepositoryBase<BonusRateEntity>, IBonusRateRepository
    {
        public decimal GetMinMoney()
        {
            return GetSingleToDecimal("select MIN(F_Money) as minMoney from biz_bonus_rate ");
        }

        public decimal GetMaxMoney()
        {
            return GetSingleToDecimal("select MAX(F_Money) as minMoney from biz_bonus_rate ");
        }
    }
}